package ru.autofan.form;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;

import org.springframework.web.multipart.MultipartFile;

public class AddCarForm implements Serializable {

	private static final long serialVersionUID = 1L;

    private MultipartFile file;
    
    private Set<MultipartFile> uploadedFiles;
    
    private String description;
    
    private String price;

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public MultipartFile getFile() {
		return file;
	}

	public void setFile(MultipartFile file) {
		this.file = file;
	}

	public String getPrice() {
		return price;
	}

	public void setPrice(String price) {
		this.price = price;
	}

	public Set<MultipartFile> getUploadedFiles() {
		if (uploadedFiles == null) {
			uploadedFiles = new HashSet<MultipartFile>();
		}
		return uploadedFiles;
	}

}
